home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-02-06 | 906 b | 44 lines |
- # makefile for rpcspy & nfstrace
-
- CC=cc
-
- #delete this target ...
- all:
- @echo HEY! Edit the makefile to configure for your environment.
-
- #...and add this one:
- #all: rpcspy nfstrace
-
- #ULTRIX:
- #If you're running ULTRIX (with packetfilter), uncomment this:
- #rpcspy: rpcspy.o xdr_nfs.o pfilt.o
- # cc rpcspy.o pfilt.o xdr_nfs.o -o rpcspy
-
- #SunOS
- #if you're running SunOS (with NIT), uncomment this:
- #CFLAGS=-DNIT
- #except that if NIT timestamps are known to work right
- # uncomment this line instead
- #CFLAGS=-DNIT -DSTAMPS
- #and uncomment these lines
- #rpcspy: rpcspy.o xdr_nfs.o nit.o
- # cc rpcspy.o nit.o xdr_nfs.o -o rpcspy
-
-
- rpcspy.o: rpcspy.h rpcspy.c
-
- pfilt.o: rpcspy.h pfilt.c
-
- nit.o: rpcspy.h nit.c
-
- nfstrace: y.tab.c lex.yy.c nfstrace.o
- cc nfstrace.o y.tab.c -ly -ll -o nfstrace
-
- nfstrace.o: nfstrace.c nfsstuff.h
-
- y.tab.c: nfsyacc.y nfsstuff.h
- yacc nfsyacc.y
-
- lex.yy.c: nfslex.l nfsstuff.h
- lex nfslex.l
-